package com.shy.mapper;

import com.shy.entity.DicValue;

import java.util.List;

/**
* @author sunhuanyu
* @description 针对表【t_dic_value(字典值表)】的数据库操作Mapper
* @createDate 2024-12-09 11:57:17
* @Entity com.shy.entity.DicValue
*/
public interface DicValueMapper {

    int deleteByPrimaryKey(Long id);

    int insert(DicValue record);

    int insertSelective(DicValue record);

    DicValue selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DicValue record);

    int updateByPrimaryKey(DicValue record);

    /**
     * 根据字典类型编码查询字典值列表
     * @param typeCode
     * @return
     */
    List<DicValue> queryDicValueByCode(String typeCode);
}
